import { handleActions } from 'redux-actions';
import immutable from 'seamless-immutable';

const INITIAL_STATE = immutable({
	cates: [],
	list: [],
	end: false,
	pageNum: 0
})

export default handleActions({
  'resource/mergeState': (state, action) => state.merge(action.payload)
}, INITIAL_STATE);

